type Config = {
	theme : "default" | "dark" | "light" | "auto";
	locale : "zh-CN" | "en-US";
};


export const config : Config = {
	theme : "default",
	locale : "zh-CN",
}

export const updateConfig  = (newConfig : Partial<Config>) : Config => {
	return {
		...config,
		...newConfig,
	};
};